how to clear intersections safely